home *** CD-ROM | disk | FTP | other *** search
- __top10_send__ = new LoadVars();
- __top10_receive__ = new LoadVars();
- __top10_url_1__ = "http://www.armorbot.com/flashcomm";
- __top10_url_2__ = "/top10_b";
- __top10_send__.hid = 979;
- __top10_send__.kid = "ERELIO";
- __top10_send__.sendAndLoad(__top10_url_1__ + __top10_url_2__,__top10_receive__,"POST");
- __top10_receive__.onLoad = function(success)
- {
- if(success)
- {
- i = 1;
- while(i < 11)
- {
- _root.scoreboard["_name" + i + "_"].text = __top10_receive__["name" + i];
- _root.scoreboard["_score" + i + "_"].text = __top10_receive__["score" + i];
- loading._visible = false;
- i++;
- }
- }
- };
- stop();
-